ObservableBase.Subscribe(IObserver) method¶
Defined in
Type: ObservableBaseSystem.Reactive
Assembly: System.Reactive.dll
Applies to
net8.0, net8.0-windows10.0.19041, netstandard2.0
public IDisposable Subscribe(IObserver<T> observer)
Inherited documentation
These docs were inherited from IObservable<T>. The member doesn't override them on this type.
Summary: Notifies the provider that an observer is to receive notifications.
Parameters
| Name | Type | Description |
|---|---|---|
observer | IObserver | The object that is to receive notifications. |
Returns: IDisposable -- A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.